package com.itheima.git.gittest.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Copyright (C), 2023-07-16
 * FileName: ChenLuController
 * Author:   🐕狗子------陈路
 * Date:     2023/7/16 17:29
 */

@RestController
@RequestMapping("chenlu")
public class ChenLuController {

    @Value("${A230103977}")
    private String name;

    @GetMapping
    private String returnName(){
        return name;
    }
}
